package cn.mulanbay.persistent.enums;

/**
 * 用户等级
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public enum UserLevel {

    NOVICE(0, "新手",3),
    PRIMARY(1, "初级",5),
    MIDDLE(2, "中级",7),
    SENIOR(3, "高级",9),
    ELITE(4, "精英",11);

    private int value;

    private String name;

    private int score;

    UserLevel(int value, String name) {
        this.value = value;
        this.name = name;
    }

    UserLevel(int value, String name, int score) {
        this.value = value;
        this.name = name;
        this.score = score;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
